Skip to content

server/sstate.c, NEWS.adoc: wait a second before declaring UPS data stale#3170

Merged
jimklimov merged 1 commit into
networkupstools:masterfrom
jimklimov:issue-661
Nov 11, 2025
Merged

server/sstate.c, NEWS.adoc: wait a second before declaring UPS data stale#3170
jimklimov merged 1 commit into
networkupstools:masterfrom
jimklimov:issue-661

Conversation

@jimklimov

Copy link
Copy Markdown
Member

Addresses one guess for issue #661 (fractional/whole second rounding maybe being the problem with inter-process communications, so we wait for MAXAGE+1 now before declaring data stale).

That situation may have other driver/device specific reasons when the stale/OK status flips because the driver explicitly says so (not due to timeout of comms between driver and data server, or total lack of updates for too long), as detailed in recent posts to that issue.

…tale [networkupstools#661]

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
@jimklimov jimklimov added this to the 2.8.5 milestone Nov 9, 2025
@jimklimov jimklimov added enhancement Connection stability issues Issues about driver<->device and/or networked connections (upsd<->upsmon...) going AWOL over time labels Nov 9, 2025
@github-actions

github-actions Bot commented Nov 9, 2025

Copy link
Copy Markdown

Dist and Docs NUT-tarballs-PR-3170.zip are available for commit 543f294

@jimklimov jimklimov merged commit 4885d92 into networkupstools:master Nov 11, 2025
29 of 38 checks passed
@jimklimov jimklimov deleted the issue-661 branch November 11, 2025 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Connection stability issues Issues about driver<->device and/or networked connections (upsd<->upsmon...) going AWOL over time enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant